const appConfig = {
    // TODO 抽取所有配置的部分并填入
    // 如果需要动态计算，创建store/modules，并在页面中watch
    deviceType: {
      desktop: 'desktop',  // 方便切换常量命名
      mobile: 'mobile',
      other: 'other'
    },
    calMode: {  // 状态模式
        desktop: 'desktop',
        mobile: 'mobile',
        mobileNoLeft: 'mobileNoLeft',  // 通常指的是手机
        mobileLeft: 'mobileLeft'  // 通常指的是平板
    },
    // TODO 系统部分
    system: {
        DEBUGGER: false,
        fixFileNameLength: 15
    },
    // TODO 左侧栏
    // TODO 顶部栏
    // TODO 右侧栏
    rightMenu: [
        {
            id: "0",  // 用于区分slot
            name: "预测参数"
        },
        {
            id: "1",
            name: "图片选择"
        },
        {
            id: "2",
            name: '历史读取'
        }
    ],
    rightMenuEng: [
        {
            id: "0",  // 用于区分slot
            name: "predict argument"
        },
        {
            id: "1",
            name: "image choice"
        },
        {
            id: "2",
            name: 'history read'
        }
    ],
    // TODO 选项区域
    selectMenu: {
        selectUName: {
            name: "用户名称",
            type: 'input'
        },
        selectPName: {
            name: '图片名称',
            type: 'input'
        },
        selectEnhance: {
            name: '图像增强',
            type: 'select',
            data: [
                { value: 0, text: '启用'},
                { value: -1, text: '不启用'}
            ]
        },
        selectSeg: {
            name: '角膜神经分割',
            type: 'select',
            data: [
                { value: 7, text: 'retinal-arteriovenous'},
                { value: 6, text: 'retinal-faz'},
                { value: 5, text: 'retinal-capillaries'},
                { value: 4, text: 'retinal-large vessels'},
                { value: 3, text: 'CellFormer'},
                { value: 2, text: 'CS-Net for Cell'},
                { value: 1, text: 'NerveFormer'},
                { value: 0, text: 'CS-Net for Nerve'},
                { value: -1, text: '不启用'}
            ]
        },
        selectGrade: {
            name: '参数量化',
            type: 'select',
            data: [
                { value: 0, text: '启用'},
                { value: -1, text: '不启用'}
            ]
        },
        selectVascular: {
            name: '弯曲度分级',
            type: 'select',
            data: [
                { value: 0, text: '启用'},
                { value: -1, text: '不启用'}
            ]
        }
    },
    selectMenuEng: {
        selectUName: {
            name: "Account name",
            type: 'input'
        },
        selectPName: {
            name: 'File name',
            type: 'input'
        },
        selectEnhance: {
            name: 'Enhancement',
            type: 'select',
            data: [
                { value: 0, text: 'Apply'},
                { value: -1, text: 'Disable'}
            ]
        },
        selectSeg: {
            name: 'Segmentation',
            type: 'select',
            data: [
                { value: 3, text: 'CellFormer'},
                { value: 2, text: 'CS-Net for Cell'},
                { value: 1, text: 'NerveFormer'},
                { value: 0, text: 'CS-Net for Nerve'},
                { value: -1, text: 'Disable'}
            ]
        },
        selectGrade: {
            name: 'Grading',
            type: 'select',
            data: [
                { value: 0, text: 'Apply'},
                { value: -1, text: 'Disable'}
            ]
        },
        selectVascular: {
            name: 'Quantification',
            type: 'select',
            data: [
                { value: 0, text: 'Apply'},
                { value: -1, text: 'Disable'}
            ]
        }
    },
    // TODO 底部展示区域
    imgCubeTabs: [
        {
            id: "0",
            name: "分割结果可视化"
        },
        {
            id: "1",
            name: "弯曲度分级"
        },
        {
            id: "2",
            name: "量化结果可视化"
        },
        {
            id: "3",
            name: "神经交互"
        }
    ],
    imgCubeTabsEng: [
        {
            id: "0",
            name: "Segmentation results"
        },
        {
            id: "1",
            name: "Tortuosity grades"
        },
        {
            id: "2",
            name: "Detailed quantifications"
        },
        {
            id: "3",
            name: "Nerve interact"
        }
    ],
    imgCubeTabsData: {  // 此部分看testData
        // 定义数据格式
        '0': {
            nName: ['n0'],
            nSrc: ['@/static/test/batch_1_1.tif'],
            eName: ['e0'],
            eSrc: ['@/static/test/batch_1_1.tif']
        },
        '1': {

        },
        '2': {

        },
        '3': {

        }
    }
}

export default appConfig
